package com.yj.springbootmybatis.resource;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = "classpath:upload-file-path-dev.properties")
@ConfigurationProperties(prefix = "file")
@Component
@Data
public class UploadResource {

    private String uploadFilePath;
    private String faceUrl;

}
